package com.pmh.hrs.sys.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.pmh.hrs.dao.mybatis.HrsAbstractDAO;
import com.pmh.hrs.sys.vo.SysCodeTermVO;

@Repository
public class SysCodeTermDAO extends HrsAbstractDAO{
	
	
	public int insert(SysCodeTermVO sysCodeTermVO) throws Exception{
		return this.getSqlSession().insert("SysCodeTerm.insert",sysCodeTermVO);
	}
	
	public int update(SysCodeTermVO sysCodeTermVO) throws Exception{
		return this.getSqlSession().update("SysCodeTerm.update",sysCodeTermVO);	
	}
	
	public int delete(Map<String,Object> paramMap) throws Exception{
		return this.getSqlSession().delete("SysCodeTerm.delete",paramMap);	
	}
	
	public List<Map<String,Object>> selectList(Map<String,Object> paramMap) throws Exception{
		return this.getSqlSession().selectList("SysCodeTerm.selectList",paramMap);
	}

	
}
